<template>
  <div class="main">
    <div class="main_box">
      <!-- 左 -->
      <div class="left"></div>
      <!-- 右 -->
      <div class="register">
        <MyInfo></MyInfo>
        <Notice></Notice>
        <Rarticle></Rarticle>
        <Mydate></Mydate>
        <NewReply></NewReply>
      </div>
    </div>
  </div>
</template>

<script>
  // 右
  import MyInfo from '@/components/register/MyInfo.vue';
  import Notice from '@/components/register/Notice.vue';
  import Rarticle from '@/components/register/Rarticle.vue';
  import Mydate from '@/components/register/Mydate.vue';
  import NewReply from '@/components/register/NewReply.vue';

  export default {
    name: 'Main',
    data() {
      return {};
    },
    components: {
      MyInfo,
      Notice,
      Rarticle,
      Mydate,
      NewReply,
    },
    methods: {
      // 获取 token
      /*  getMyToken() {
        if (localStorage.getItem('token')) {
          this.$store.commit('getToken', localStorage.getItem('token'));
        } else {
          this.$store.commit('getToken', '');
        }
      }, */
    },
    created() {
      // this.getMyToken();
    },
  };
</script>

<style lang="less" scoped>
  @import url('../../state/mainPublic.less');
</style>
